.corporate-payment-report-detail {
  position: relative;
  &-alert {
    .show-alert:first-of-type {
      margin-top: 20px;
    }
  }
  &-header {
    position: relative;
    &-form {
      font-size: 16px;
      color: $font-title;
      line-height: 20px;
      margin-top: 20px;
      position: relative;
      &-title { width: 200px; }
      &-status {
        margin-right: 0;
        cursor: default;
        position: absolute;
        right: 0;
        top: 0;
        &:hover {
          opacity: 1!important;
        }
      }
    }
    &-amount {
      font-family: DINAlternate-Bold;
      font-size: 30px;
      color: #1E2126;
      line-height: 32px;
      margin-top: 8px;
      &.font-disabled { color: $font-disabled; }
      &-label {
        margin-left: 8px;
        font-size: 14px;
        color: $font-default;
        vertical-align: middle;
      }
      .font-disabled &-label {
        color: $font-disabled;
      }
    }
    &-nodeName {
      font-size: 12px;
      color: #848C95;
      text-align: right;
      width: 82px;
      height: 14px;
      line-height: 14px;
      margin-top: 8px;
      position: absolute;
      right: 8px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
  &-relative {
    margin-top: 32px;
    &-title {
      font-weight: 600;
      font-size: 14px;
      line-height: 14px;
      color: $font-default;
      margin-bottom: 12px;
    }
    &-value {
      height: 40px;
      line-height: 40px;
      color: $font-default;
      .code {
        color: $default-color;
        margin-right: 12px;
      }
      &::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        border-bottom: 1px dashed #EBF0F5;
      }
    }
  }
  .invoice-list {
    padding: 0 10px;
    .ant-table {
      overflow: visible;
    }

    .invoice-list-head {
      position: relative;
      padding-top: 10px;
      overflow: hidden;

      .scan-info-icon {
        position: relative;
        color: $font-description;
        top: -16px;
        left: -12px;
        cursor: pointer;
      }

      button {
        margin-right: 16px;
      }

      .button-area {
        float: right;
        margin-bottom: 12px;

        i.scan-info {
          position: relative;
          color: $font-description;
          top: -16px;
          left: 4px;
          cursor: pointer;
        }

        &-create {
          margin-left: 16px;
        }

        button {
          margin-left: 10px;
          margin-right: 0;
        }
      }
    }

    .error-table-line {
      background: #FDF2F1 !important;
    }

    .warn-table-line {
      background: rgba(254, 249, 237, 1);
      margin-bottom: 10px;
    }

    .not-matched-columns {
      color: red;
    }

    .table-count {
      height: 40px;
      line-height: 40px;
      padding: 0 30px;
      border: 1px solid #EAEAEA;
      border-bottom: none;

      b {
        margin: 0 5px;
      }

      b.number {
        color: #50962A;
      }
    }

    .invoice-label-filter {
      margin-bottom: 12px;
      line-height: 30px;
      .ant-tag { border-radius: 0; }
    };
  }
  &-pay {
    padding: 0 20px;
    .pay-info-list {
      .header-title { margin-bottom: 12px; }
      .expense-card {
        position: relative;
        padding: 14px 14px 14px 42px;
        background: #F9FBFF;
        border: 1px solid #EBF0F5;
        border-radius: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        &-icon {
          position: absolute;
          top: 14px;
          left: 14px;
          width: 20px;
          height: 20px;
          border-radius: 10px;
        }
        &-name {
          font-size: 14px;
          color: #333333;
          margin-bottom: 8px;
        }
        &-info {
          font-size: 12px;
          color: $font-default;
          line-height: 16px;
        }
      }
      .money-box {
        line-height: 20px;
        color: #333333;
        &-total-amount { color: #24A875; }
        &-write-off-amount { color: $default-color; }
      }
      .column-title-amount { color: #24A875; }
    }
    .ant-table-bordered .ant-table-tbody > tr.ant-table-expanded-row > td {
      background: white;
      &:hover {
        background: white;
      }
    }
    .warning-expanded-row{
      color: #2e6cf2;
    }
    .error-expand-row{
      color: #CB5091;
    }
    .expanded-row-list {

    }
    &-summary {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    &-row {
      width: calc(100% - 60px);
      overflow: auto;
    }
    &-invoice {
      margin-top: 10px;
      width: 700px;
      .invoice-brief-mode {
        margin-left: 0;
        width: calc(100% - 60px);
      }
      .invoice-brief-mode .invoice-brief-content-area span {
        display: inline;
      }
    }
    .invoice-has-audit td:nth-child(2) {
      position: relative;
      &::before {
        content: "";
        width: 20px;
        height: 13px;
        position: absolute;
        top: 0;
        left: 0;
        background: url(../../images/manual-audit.png) no-repeat;
        background-size: 100%;
      }
    }
  }
  &-right {
    .ant-tabs-content .ant-tabs-tabpane {
      max-height: calc(100vh - 220px);
      overflow: auto;
      padding-bottom: 63px;
    }
    &-audit-ing {
      color: #FFAC4D;
    }
    .right-tabs {
      .ant-tabs-bar .ant-tabs-nav-container {
        margin-left: 40px;
        max-width: calc(100% - 75px);
        .ant-tabs-nav,
        .ant-tabs-tab-prev.ant-tabs-tab-arrow-show{
          margin-left: 0;
        }
        .ant-tabs-tab-prev-icon,
        .ant-tabs-tab-next-icon{
          top: calc(50% - 5px);
        }
      }
    }
  }
  &.slide-document .column-layout-right {
    padding-bottom: 0;
  }
  .audit-tips-button-lamp {
    top: 3px;
    z-index: 3;
  }
  .approve-bar { padding-top: 8px; }
  .bottom-bar, .bottom-bar.buttons-bar-bottom {
    width: 100% !important;
    height: auto;
    min-height: 50px;
  }
  .contract-detail .bottom-bar-jsq button {
    float: right;
    margin-top: 12px;
    margin-right: 20px;
  }
}
.slide-expense-report-detail-header {
  .ant-popover-message > .anticon { display: none; }
  .ant-popover-message-title { padding-left: 0 }
  .spin-as-inline { display: inline-block; }
}
.slide-expense-report-detail-expense-invoice-summary-modal {
  width: 100vw !important;
  padding: 0;
  &-title {
    .anticon-info-circle {
      color: #658FD6;
      cursor: pointer;
      margin-left: 6px;
    }
    .anticon-check-circle {
      color: #4DC690;
      margin-left: 40px;
    }
    .anticon-question-circle {
      color: #FF6680;
      margin-left: 20px;
    }
  }
  .ant-modal-body {
    padding: 0;
    .slide-expense-report-detail-expense-invoice-summary-frame {
      height: calc(100vh - 55px);
      width: 100%;
      overflow: auto;
      white-space: nowrap;
      padding: 20px;
      &-group {
        width: 500px;
        display: inline-block;
        margin: 0 10px;
        vertical-align: top;
        h4 {
          margin-bottom: 10px;
        }
        .invoice-brief-mode .invoice-brief-content-area span {
          display: inline;
        }
        .invoice-brief-mode, .invoice {
          margin: 0 0 20px;
          width: 100%;
        }
        .ant-spin-blur {
          overflow: visible;
        }
        .invoice-container {
          position: relative;
          &.selected {
            box-shadow: 0 0 5px 1px $default-color-hover;
          }
          .check-icon {
            position: absolute;
            right: -8px;
            top: -8px;
            font-size: 24px;
            cursor: pointer;
            -webkit-transition: transform .3s;
            -moz-transition: transform .3s;
            -ms-transition: transform .3s;
            -o-transition: transform .3s;
            transition: transform .3s;
            &:hover {
              -webkit-transform: scale(1.2);
              -moz-transform: scale(1.2);
              -ms-transform: scale(1.2);
              -o-transform: scale(1.2);
              transform: scale(1.2);
            }
          }
          .anticon-check-circle {
            color: #4DC690;
          }
          .anticon-question-circle {
            color: #FF6680;
          }
        }
      }
    }
  }
}

.helios-content > .corporate-payment-report-detail {
  position: relative;
  margin: -16px -20px 0 -20px;
  width: calc(100% + 40px);
  transform: translate(0);
  height: calc(100% + 16px);
  overflow: hidden;
}
.expense-report-checking{
  .ant-modal-body{
    text-align: center;
    .checking-img{
      margin-top: 50px;
      height: 100px;
      width: 100px;
      margin-bottom: 25px;
      -webkit-animation: rotateZ 1s linear infinite;
      -o-animation: rotateZ 1s linear infinite;
      animation: rotateZ 1s linear infinite;
    }
    @keyframes rotateZ {
      100% {
        -webkit-transform: rotateZ(360deg);
        -moz-transform: rotateZ(360deg);
        -ms-transform: rotateZ(360deg);
        -o-transform: rotateZ(360deg);
        transform: rotateZ(360deg);
      }
    }
    .checking-img-content{
      position: absolute;
      width: 40px;
      height: 40px;
      left: 50%;
      top: 104px;
      -webkit-transform: translateX(-50%);
      -moz-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
      -o-transform: translateX(-50%);
      transform: translateX(-50%);
    }
    .checking-divide{
      height: 1px;
      width: 80%;
      background: #D7DCE6;
      margin-left: 10%;
      margin-bottom: 15px;
    }
    .checking-title{
      font-size: 21px;
      color: #505564;
      text-align: center;
      width: 100%;
      height: 40px;
      line-height: 40px;
    }
    .checking-content{
      font-size: 14px;
      color: #1E78C8;
      text-align: center;
      width: 100%;
      height: 30px;
      line-height: 30px;
      margin-bottom: 30px;
    }
  }
}
